package com.wolf.service;

import com.wolf.pojo.Wl_user_role_competences;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Wl_user_role_competencesService {
    int deleteByPrimaryKey(String id);

    int insert(Wl_user_role_competences record);

    int insertSelective(Wl_user_role_competences record);

    Wl_user_role_competences selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Wl_user_role_competences record);

    int updateByPrimaryKey(Wl_user_role_competences record);

    /**
     * 查询所有
     * @return
     */
    List<Wl_user_role_competences> getAll();

    /**
     * 查询单个
     * @return
     */
    List<Wl_user_role_competences> getbyid(String id);

    /**
     * 根据roleid查单个对象
     * @param roleid
     * @return
     */
    Wl_user_role_competences getbyroleid(String roleid,String cid);
}